package com.restaurant.service;

import java.util.List;
import com.restaurant.domain.Employee;

public interface EmployeeService {

   public Employee addOrModify( Employee objEmployee ) throws Exception;
   public Employee deleteRecord( Employee objEmployee ) throws Exception;
   public Employee modifyRecord( Employee objEmployee ) throws Exception;
   public List<Employee> loadAll() throws Exception;
   public Employee loadByPrimaryKey( Long primaryKey ) throws Exception;
   public Employee deleteByPrimaryKey( Long primaryKey ) throws Exception;
   public List<Employee> loadByHql( String query ) throws Exception;

}